<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="${ctx}/js/jquery-ui/css/jquery-ui.css" type="text/css" rel="stylesheet" />
<%@ include file="/commons/script.jsp" %>
<script src="${ctx}/js/jquery.validate.min.js" type="text/javascript"></script>
<script src="${ctx}/js/validate.addmethod.js" type="text/javascript"></script>
<script src="${ctx}/js/messages_cn.js" type="text/javascript"></script>
<title>完善个人联系资料</title>
</head>
<body>
    
  <div class="m_right">
    <div class="m_r_tips">
       <div class="m_r_lefttips">您现在的位置：<a href="${ctx}/admin/home.jsp">首页</a>&gt;我的信息&gt;联系方式</div>
       <jsp:include page="/commons/admin/admin_login_remind.jsp"/>
    </div>

	<s:if test="#session.DO_FEEDBACK != null " >
           <div class="m_r_tips">
               <div class="m_r_lefttips"><span style="color:red">
                  ${DO_FEEDBACK}
                  <% session.removeAttribute("DO_FEEDBACK"); %>
               </span></div>
          </div>
    </s:if>

    <s:form id="acc_form" method="post" action="updatePcAccount" namespace="/admin/account">
    <div class="m_r_search">
       <div class="m_r_search_con">
         <table width="700" border="0" cellspacing="0" cellpadding="0" align="center"  style="border-collapse: collapse;border-spacing: 0; border:0;margin:0px auto; ">
              <tr>
                <td width="100" class="m_r_s_con_td"><span class="required_mark">*</span>姓名：</td>
                <td width="275" class="m_r_s_con_text">&nbsp;
                <s:textfield name="acc.realname" id="realname" cssClass="text_input required stringCheck" maxlength="30"/>
                </td>
                <td width="130"  class="m_r_s_con_text"></td>
              </tr> 
               <tr>
               <td width="90" class="m_r_s_con_td"><span class="required_mark">*</span>手机：</td>
                <td width="275" class="m_r_s_con_text">&nbsp;
                <input type="hidden" id="oldMobile" value="${acc.mobile }" />
                 <s:textfield name="acc.mobile" id="mobile" cssClass="text_input required isMobile"/>
                </td>
                <td class="m_r_s_con_text"></td>
              </tr>
              <tr>
                <td width="90" class="m_r_s_con_td"><span class="required_mark">*</span>邮箱：</td>
                <td width="275" class="m_r_s_con_text">&nbsp;
                <s:textfield name="acc.email" id="email" cssClass="text_input required email" maxlength="50"/>
                </td>
                <td class="m_r_s_con_text"></td>
              </tr> 
              <tr>
                <td width="90" class="m_r_s_con_td">&nbsp;</td>
                <td class="m_r_s_con_text">&nbsp;</td>
                <td width="300"  class="m_r_s_con_text">&nbsp;</td>
              </tr>
         </table>  
       </div>
    </div>
    <div class="m_r_search_btn">
      <a href="#" class="m_r_bnt1 pad15">
      <input type="submit" value="修改"  id="do_submit" />
      </a>
    </div>
    </s:form>
  </div>
</body>
<script type="text/javascript">
$(document).ready(function(){
    if ($("#realname").val() == "") {
        $("#realname").val('${PC_ACCOUNT.realname}');
    }
});

    $("#acc_form").validate();

</script>

</html>
